import request from '@/utils/request';

export function listFdy(query) {
  return request({
    url: '/classmetting/classMettingContent/listFdy',
    method: 'get',
    params: query
  })
}

// 查询班会内容列表
export function listClassMettingContent(query) {
  return request({
    url: '/classmetting/classMettingContent/list',
    method: 'get',
    params: query
  })
}

// 查询班会内容详细
export function getClassMettingContent(crId) {
  return request({
    url: '/classmetting/classMettingContent/' + crId,
    method: 'get'
  })
}

// 新增班会内容
export function addClassMettingContent(data) {
  return request({
    url: '/classmetting/classMettingContent/add',
    method: 'post',
    data: data
  })
}

// 修改班会内容
export function updateClassMettingContent(data) {
  return request({
    url: '/classmetting/classMettingContent/update',
    method: 'post',
    data: data
  })
}

// 删除班会内容
export function delClassMettingContent(crId) {
  return request({
    url: '/classmetting/classMettingContent/' + crId,
    method: 'post'
  })
}
